package com.gr.blog.mean.dao;

import java.util.List;
import java.util.Map;

import tk.mybatis.mapper.common.Mapper;

import com.gr.blog.mean.model.MenuModel;

/**
 * 菜单Dao
 * @author:gbp
 * 2017年12月25日 上午11:33:29
 */
public interface MeanDao  extends Mapper<MenuModel>{

	public List<Map<String,Object>> selectAllMean(Map<String,Object> menuMap);

	public List<Map<String,Object>> selectFeatherMenu();

	public int insertMenuInfoToDB(Map<String,Object> menuMap);

	public List<Map<String,Object>> selectMenuAndDept();

	public List<MenuModel> selectShowLeftManuDate(Map<String, Object> deptMap);

	public List<MenuModel> selectShowRightManuDate(Map<String, Object> deptMap);

	public List<MenuModel> selectMenuDateByUserName(String username);

	public List<Integer> selectMenuAndDeptLinkByMenuId(String menuId);

	public int deleteMenuInfoByMenuId(String menuId);

	public int selectMaxShowOrder();

	public List<Map<String, Object>> selectSuperAllTree(Map<String, Object> menuMap);

	public String selectMaxMenuCode(Map<String, Object> map);

}
